# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-xrick
pkgver=0_git20200317
pkgrel=0
_commit="f5d7b06a54060ec8a867f666b8e7b379629a7512"
pkgdesc="Rick Dangerous implementation for libretro"
url="https://github.com/libretro/xrick-libretro"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/xrick-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/xrick-libretro-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 xrick_libretro.so "$pkgdir"/usr/lib/libretro/xrick_libretro.so
}

sha512sums="6e65e7d87c6af53ea52e8bd22dfe10038f92c1b400e7c6ce3632685d863c740b6f3374a1fcb096f8d1ace3af699b70037005b0d01fe101d6dd8a8968dcb52cc4  libretro-xrick-f5d7b06a54060ec8a867f666b8e7b379629a7512.tar.gz"
